use type syntax for bricks and program