all important exception samples implemented