added pause option, fixed shape 4