adding a pojo and eliminating build warnings