Made use of rwildcard function