- modified action scanning
- created constants for database values