modified the skeleton code