First version created mainly by claude
