code style controller