changed call to initial function