added implementation for starts-with and number functions.