should this function return true/false for success indication?