feat: adjust domains of functions