finished basic functionality of app