added api accessability (only in client)