added function on hit point
add render