added basis initialization template