Fixed james' trash code