a very small simple test version with basis function