Continued implementation of functions