Compressed the code