Most of local functionality tested and implemented