inline some vars
basic searching. Not pretty yet