change function names to match with SDK