nit: curly brace should go on the previeous line