First implementation

Not really smart implementation,