Added resize functionality and 2 composites