small amend, object null when called first time, testing first now.