implemented basic contestatii handling