oohh sam finally cleaned up his code, so fancy, so clean.