add annotation configuration and modification of user class