moved return out of brackets