added simper code
added simpler code
simpler code