set up outlets and actions