use variable to set titleLeft