replace same with valid method
add feature normalization function