added block drawing, broke text input function