making all shapes to call asynchronouos callback in fromObject