prettyfied some code