styling and fixed typo in rest_cont