added compressed code