code cleaned and swipe card not done yet