working without db access