make duration as parameters
make duration as parameters
basic layout