add main block