edited for home machine