basic function - 4 examples all work