removed unused rendered function