separating code