Working version with some AmazonGames lib