Keeping seperating function