added gamvas and sample code