could you please format code properly?