adding debugging effects