get in function