copy method for if-bricks added