Finished basic functionality implementation.