fixed functions with acp and ready to start local storage