Begin working on logic