Fix #159. Replaced the adding stantement for a new one.