badges positioning
refactored into separate functions
refactored, can be used by other modules
refactored main check loop
refactored to use verbose flag, clean iteration
fixed bug