eliminated eclipse warnings