added crop dynamically, implemented