Functioning starting, fixed bugs.