working on prettifying this