setting up uniform variables