Modification on code

Something like this: