Cannot be this code some how reused?