changed method definitions...needs corrections.