Hacking angles, for the best results. Added a modal for error showing.