gets basic functionality set up