A compound machine is