added grey scale conversion. demo fails now