Delete repetitve code blocks. #2