with store function

gapi enabled