Simplified logic in application of puny code.