Tested surface function for UW