added functions for hop based calcs