problems solved with () at return and if