Using xml instead annotations