removing eclipse warnings