added error level display and started working on database