using @marcopolo 's prettier version