method has return type but is not used?