Added basic program functionality