fixed inconsistency
tweaked little things
fixed bruteforce
completed main