removed first version of the code