added prettier documentation and single loo