added api
Merge pull request #2 from deanxorr/squash_branch

API added