making cards behave as normal and changes to UI