added a function to send syn
buggy version