Avoided overloading by using different function names