tweaked parameters and added alignment