fork of bto's stuff