inline functions added