changed it so card only takes the path as a param