remove unusable method and refector code