basic functionality up for main part of game