added basic functional app