tried to create a bind method but it's not working right