Updated HLE functions