Merge pull request #1 from pondering/master

add phase 1