Make fucntion calls more pythonic, output more sensible