remove unecessary methods in algorithm
remove unecessary methods in algorithm
refine configuration and generic type