modified version of 2048