is their a way to call a class function within another class function?