Main Functions Are Working