Initial submission with code implemented.