Logic working.