Logic in another file