Added clearLoadout function