refactor
add component to cut the image