added some junk to make it work