updated formatting in implementation