implemented proper constructor
removed .list() and added docs