Practise problem using gettc