format beetl code