First commit... Premature code.. But it works nevertheless.