db select queries working (event not yet)