updates: added return and variable