Credits to Marko Sutija for help! cheers