added version written using SimpleCV module