How to do On Brick Programming