this function is performed by asigna