[ADDED]: added second issue solution. Updated styles of issue #1.