multiple implemented. it currently only works with positive numbers