Added bytecompile to speed up code