adding api accessors