Removing if condition preventing deciphering