This was challenge given by function space