Modified print methods to utilise global variables