assigning shader attribute functionality added