seperating code