remove return from function