added annotations to the methods