Modified it a bit.