move required out of properties object