Tekin's java class implementation trial number one