modified annotations to be resources