decorator method practise