formatted all files and added no receipt function