changes to check REST code and napoleon code