added more base inline functions