refixed jump height
added template class