added code for Uva:892