seeing if function is called