add hop code basics