changed access api a little