added and modified amelia