Added code for onionskin effect