added some neat tricks