remove the underscore in the keywords
add findIndex and linearInterpolation function