added vector 3 and resolved height issue