Added code that was developed by s0lder.