introduction of composite function not causing any errors