border function works need to fix border constructor and move function