What are duties of mechanical engineer?