its better to use simpleframework