Resource allocation problem......HELP!!!!!!!!!!