Draft implementation for handling uniforms