move title to instance variable