finished api first draft
Merge pull request #4 from mhamel01/fixing_long_bug

Fixing long bug