adding proper python documentation