replaced the old hyphen method decleration