Implemented distribution, added methods. Still needs work