Update practice

worked out some issues with function naming