added crop rendering