updated manual rendering method