Initial commit

Completed functions