changed conections to float values to use outAlpha