raise error methods added