setting up signals