played around with the code