added return variable