added a converter, golfed a little, chrome fix