Fixed bug. Now this version is runable.