code convetions implemented