Main design implemented